<div style="maring: 30px;">
	
	<%= form_tag("/login/adduser", :method => "post", :multipart => true) do %>
	

	<h2>Cadastro de acesso Cliente</h2>
	<br/>
	
	<%= flash[:notice] %>
	<br/>
	<br/>
	
	<b>*Campos obrigatorios</b>
	<br/>
	
	<table>
	
		<tr>
			<td>CPF/CNPJ*:</td><td>
			<%= text_field(:user, :cpf_cnpj) %>
			</td>
		</tr>
	
		<tr>
			<td>Email*:</td><td>
			<%= text_field(:user, :email) %>
			</td>
		</tr>

		<tr>
			<td>Senha*:</td><td><%= password_field(:user, :pass_1) %></td>
		</tr>
		
		<tr>
			<td>Confirme a senha*:</td><td><%= password_field 'user', 'pass_2' %></td>
		</tr>
		
		<tr>
			<td colspan="2" align="center">
				<%= submit_tag("Ok") %>
				<input type="button" onclick="window.location='/home'" value="Cancel" />
			</td>
		</tr>

	</table>
	
	<% end %>
	
</div>